package com.nhncorp.pleiades.client;

public class SpaceEntry {
  
  private String type;
  private String key;
  private String value;
  
  public SpaceEntry (String type) {
    this.type = type;
    init();
  }
  
  public SpaceEntry (Class<?> ctype) {
    this.type = ctype.getCanonicalName();
  }
  
  private void init() {
    this.key = "";
    this.value = "";
  }  

  public String getType() {
    return this.type;
  }

  public void setType(String type) {
    this.type = type;
  }
  
  public String getKey() {
    return this.key;
  }

  public void setKey(String key) {
    this.key = key;
  }
  
  public String getValue() {
    return this.value;
  }

  public void setValue(String aValue) {
    this.value = aValue;
  }  
  
  public String toString() {
    return (this.type + "," + this.key);
  }

}
